package com.beerandjesus.sportofkings.handicapper.profile.resolver;

import com.beerandjesus.sportofkings.handicapper.model.brisnet.singlefile.Horse;
import com.beerandjesus.sportofkings.handicapper.model.brisnet.singlefile.HorseRace;
import com.beerandjesus.sportofkings.handicapper.profile.Profile;

/**
 * Date: Jul 6, 2012
 * Time: 2:08:12 PM
 */
public interface ProfileResolver {

    /**
     * Determine whether or not the input satisfies the conditions
     * of the type of analysis profile returned.
     *
     * @param race  The horse race
     * @param horse The horse under consideration
     * @return The analysis profile, if the input satisfies the necessary
     * conditions, or null if the profile type does not apply
     */
    public Profile resolve(HorseRace race, Horse horse);

}
